<%@ include file="/common/taglibs.jsp"%>
<c:forEach items="${categoryList}" var="category" varStatus="varStatus">
	<li id='${category.categoryId}'>
		<span categoryName="${category.categoryName}" depth="${category.depth}" categoryPath="${category.categoryPath}">${category.categoryName}(<span>${category.activeItemCount}</span>/<span>${category.itemCount}</span>)</span>
		<c:if test="${category.hasChildren==1}">
			<ul  class="ajax">
				<li id="load_${category.categoryId}">{url:${ctxPath}/product/productCategory.html?doAction=getTreeItems&decorator=blank&categoryId=${category.categoryId}}</li>
			</ul>
		</c:if>
	</li>
</c:forEach> 